﻿Ext.define('I2R.store.departments', {
    extend: 'Ext.data.Store',
    autoLoad: true,
    model: 'I2R.model.department',
    proxy: {
        type: 'ajax',
        url: '../User/Departments',
        reader: {
            record: 'Department',
            idProperty: 'Id',
            type: 'xml'
        }
    },
    autoLoad: true
});